home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Bus / C / Commander Demo1.2b2.sit / Commander Demo.rsrc / TEXT_5038_BRING TO FRONT.txt < prev    next >
Encoding:
Text File  |  1993-09-07  |  1.1 KB  |  23 lines

  1. BRING¬†TO¬†FRONT (process ID)
  2.                                                                                     Pg 35-2
  3.  
  4. process     Number    Process reference number of process to pass to the 
  5.                                 frontmost level
  6.  
  7.  
  8. BRING TO FRONT moves the process indicated by process ID to the front, thus making it the active process. All the windows of process are brought to the front, in their correct layering order. If the process is already the frontmost process, the command does nothing. If the process is hidden, you must use SHOW¬†PROCESS to display the process, otherwise the BRING TO FRONT has no effect.
  9.  
  10. The User/Runtime process can be brought to the front using this command.
  11.  
  12.  
  13. The following example is a global procedure that can be executed from a menu. It checks to see if the frontmost process is the ‚óäCustomers process. If not, it brings it to the front:
  14.  
  15. If (Frontmost process#O‚óäCustomers) ` If customer list not shown 
  16.       BRING TO FRONT (‚óäCustomers)       `  Bring the list to the front 
  17. End if
  18.  
  19.  
  20.  
  21. See also: Frontmost¬†process, SHOW¬†PROCESS
  22.  
  23.